#include <iostream>
#include <cstdio>
#include <string>
#include <stack>
#include <algorithm>
using namespace std;

typedef long long ll;
string a;
ll sum = 0;
stack<int> st;

char PinYin[][9] = {"ling", "yi", "er", "san", "si", "wu", "liu", "qi", "ba", "jiu"};
void ShuChu()
{
    while (sum != 0)
    {
        st.push(sum % 10);
        sum = sum / 10;
    }
    printf("%s", PinYin[st.top()]);
    st.pop();
    while (!st.empty())
    {
        printf(" %s", PinYin[st.top()]);
        st.pop();
    }
}

int main()
{
    cin >> a;
    for (int i = 0; i < a.size(); i++)
    {
        sum += a[i] - 48;
        //cout << a.size() << " " << sum;
    }
    ShuChu();
    return 0;
}